Streams inplace Class
This tool generates an inline editor to edit the content or attribute of a stream.
Constructor
Streams inplace
(
-
$options
Parameters:
-
$options
ArrayOptions for the tool An associative array of parameters, containing:
-
[inplaceType='textarea']
String optionalThe type of the fieldInput. Can be "textarea" or "text"
-
[convert]
Array optionalThe characters to convert to HTML. Pass an array containing zero or more of "\n", " "
-
stream
Streams_StreamA Streams_Stream object
-
[field]
String optionalOptional, name of an field to change instead of the content of the stream
-
[attribute]
String optionalOptional, name of an attribute to change instead of any field.
-
[beforeSave]
String optionalReference to a callback to call after a successful save. This callback can cancel the save by returning false.
-
[inplace=array()]
Array optionalAdditional fields to pass to the child Q/inplace tool, if any
-